package com.waypolice.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class CmsDestroyArchiveExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CmsDestroyArchiveExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andDmIdIsNull() {
            addCriterion("DM_ID is null");
            return (Criteria) this;
        }

        public Criteria andDmIdIsNotNull() {
            addCriterion("DM_ID is not null");
            return (Criteria) this;
        }

        public Criteria andDmIdEqualTo(Integer value) {
            addCriterion("DM_ID =", value, "dmId");
            return (Criteria) this;
        }

        public Criteria andDmIdNotEqualTo(Integer value) {
            addCriterion("DM_ID <>", value, "dmId");
            return (Criteria) this;
        }

        public Criteria andDmIdGreaterThan(Integer value) {
            addCriterion("DM_ID >", value, "dmId");
            return (Criteria) this;
        }

        public Criteria andDmIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("DM_ID >=", value, "dmId");
            return (Criteria) this;
        }

        public Criteria andDmIdLessThan(Integer value) {
            addCriterion("DM_ID <", value, "dmId");
            return (Criteria) this;
        }

        public Criteria andDmIdLessThanOrEqualTo(Integer value) {
            addCriterion("DM_ID <=", value, "dmId");
            return (Criteria) this;
        }

        public Criteria andDmIdIn(List<Integer> values) {
            addCriterion("DM_ID in", values, "dmId");
            return (Criteria) this;
        }

        public Criteria andDmIdNotIn(List<Integer> values) {
            addCriterion("DM_ID not in", values, "dmId");
            return (Criteria) this;
        }

        public Criteria andDmIdBetween(Integer value1, Integer value2) {
            addCriterion("DM_ID between", value1, value2, "dmId");
            return (Criteria) this;
        }

        public Criteria andDmIdNotBetween(Integer value1, Integer value2) {
            addCriterion("DM_ID not between", value1, value2, "dmId");
            return (Criteria) this;
        }

        public Criteria andDmDesidIsNull() {
            addCriterion("DM_DESID is null");
            return (Criteria) this;
        }

        public Criteria andDmDesidIsNotNull() {
            addCriterion("DM_DESID is not null");
            return (Criteria) this;
        }

        public Criteria andDmDesidEqualTo(Integer value) {
            addCriterion("DM_DESID =", value, "dmDesid");
            return (Criteria) this;
        }

        public Criteria andDmDesidNotEqualTo(Integer value) {
            addCriterion("DM_DESID <>", value, "dmDesid");
            return (Criteria) this;
        }

        public Criteria andDmDesidGreaterThan(Integer value) {
            addCriterion("DM_DESID >", value, "dmDesid");
            return (Criteria) this;
        }

        public Criteria andDmDesidGreaterThanOrEqualTo(Integer value) {
            addCriterion("DM_DESID >=", value, "dmDesid");
            return (Criteria) this;
        }

        public Criteria andDmDesidLessThan(Integer value) {
            addCriterion("DM_DESID <", value, "dmDesid");
            return (Criteria) this;
        }

        public Criteria andDmDesidLessThanOrEqualTo(Integer value) {
            addCriterion("DM_DESID <=", value, "dmDesid");
            return (Criteria) this;
        }

        public Criteria andDmDesidIn(List<Integer> values) {
            addCriterion("DM_DESID in", values, "dmDesid");
            return (Criteria) this;
        }

        public Criteria andDmDesidNotIn(List<Integer> values) {
            addCriterion("DM_DESID not in", values, "dmDesid");
            return (Criteria) this;
        }

        public Criteria andDmDesidBetween(Integer value1, Integer value2) {
            addCriterion("DM_DESID between", value1, value2, "dmDesid");
            return (Criteria) this;
        }

        public Criteria andDmDesidNotBetween(Integer value1, Integer value2) {
            addCriterion("DM_DESID not between", value1, value2, "dmDesid");
            return (Criteria) this;
        }

        public Criteria andDmArcIdIsNull() {
            addCriterion("DM_ARC_ID is null");
            return (Criteria) this;
        }

        public Criteria andDmArcIdIsNotNull() {
            addCriterion("DM_ARC_ID is not null");
            return (Criteria) this;
        }

        public Criteria andDmArcIdEqualTo(Integer value) {
            addCriterion("DM_ARC_ID =", value, "dmArcId");
            return (Criteria) this;
        }

        public Criteria andDmArcIdNotEqualTo(Integer value) {
            addCriterion("DM_ARC_ID <>", value, "dmArcId");
            return (Criteria) this;
        }

        public Criteria andDmArcIdGreaterThan(Integer value) {
            addCriterion("DM_ARC_ID >", value, "dmArcId");
            return (Criteria) this;
        }

        public Criteria andDmArcIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("DM_ARC_ID >=", value, "dmArcId");
            return (Criteria) this;
        }

        public Criteria andDmArcIdLessThan(Integer value) {
            addCriterion("DM_ARC_ID <", value, "dmArcId");
            return (Criteria) this;
        }

        public Criteria andDmArcIdLessThanOrEqualTo(Integer value) {
            addCriterion("DM_ARC_ID <=", value, "dmArcId");
            return (Criteria) this;
        }

        public Criteria andDmArcIdIn(List<Integer> values) {
            addCriterion("DM_ARC_ID in", values, "dmArcId");
            return (Criteria) this;
        }

        public Criteria andDmArcIdNotIn(List<Integer> values) {
            addCriterion("DM_ARC_ID not in", values, "dmArcId");
            return (Criteria) this;
        }

        public Criteria andDmArcIdBetween(Integer value1, Integer value2) {
            addCriterion("DM_ARC_ID between", value1, value2, "dmArcId");
            return (Criteria) this;
        }

        public Criteria andDmArcIdNotBetween(Integer value1, Integer value2) {
            addCriterion("DM_ARC_ID not between", value1, value2, "dmArcId");
            return (Criteria) this;
        }

        public Criteria andDmArctypeIsNull() {
            addCriterion("DM_ARCTYPE is null");
            return (Criteria) this;
        }

        public Criteria andDmArctypeIsNotNull() {
            addCriterion("DM_ARCTYPE is not null");
            return (Criteria) this;
        }

        public Criteria andDmArctypeEqualTo(Integer value) {
            addCriterion("DM_ARCTYPE =", value, "dmArctype");
            return (Criteria) this;
        }

        public Criteria andDmArctypeNotEqualTo(Integer value) {
            addCriterion("DM_ARCTYPE <>", value, "dmArctype");
            return (Criteria) this;
        }

        public Criteria andDmArctypeGreaterThan(Integer value) {
            addCriterion("DM_ARCTYPE >", value, "dmArctype");
            return (Criteria) this;
        }

        public Criteria andDmArctypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("DM_ARCTYPE >=", value, "dmArctype");
            return (Criteria) this;
        }

        public Criteria andDmArctypeLessThan(Integer value) {
            addCriterion("DM_ARCTYPE <", value, "dmArctype");
            return (Criteria) this;
        }

        public Criteria andDmArctypeLessThanOrEqualTo(Integer value) {
            addCriterion("DM_ARCTYPE <=", value, "dmArctype");
            return (Criteria) this;
        }

        public Criteria andDmArctypeIn(List<Integer> values) {
            addCriterion("DM_ARCTYPE in", values, "dmArctype");
            return (Criteria) this;
        }

        public Criteria andDmArctypeNotIn(List<Integer> values) {
            addCriterion("DM_ARCTYPE not in", values, "dmArctype");
            return (Criteria) this;
        }

        public Criteria andDmArctypeBetween(Integer value1, Integer value2) {
            addCriterion("DM_ARCTYPE between", value1, value2, "dmArctype");
            return (Criteria) this;
        }

        public Criteria andDmArctypeNotBetween(Integer value1, Integer value2) {
            addCriterion("DM_ARCTYPE not between", value1, value2, "dmArctype");
            return (Criteria) this;
        }

        public Criteria andDmCreateTimeIsNull() {
            addCriterion("DM_CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andDmCreateTimeIsNotNull() {
            addCriterion("DM_CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andDmCreateTimeEqualTo(Date value) {
            addCriterionForJDBCDate("DM_CREATE_TIME =", value, "dmCreateTime");
            return (Criteria) this;
        }

        public Criteria andDmCreateTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("DM_CREATE_TIME <>", value, "dmCreateTime");
            return (Criteria) this;
        }

        public Criteria andDmCreateTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("DM_CREATE_TIME >", value, "dmCreateTime");
            return (Criteria) this;
        }

        public Criteria andDmCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("DM_CREATE_TIME >=", value, "dmCreateTime");
            return (Criteria) this;
        }

        public Criteria andDmCreateTimeLessThan(Date value) {
            addCriterionForJDBCDate("DM_CREATE_TIME <", value, "dmCreateTime");
            return (Criteria) this;
        }

        public Criteria andDmCreateTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("DM_CREATE_TIME <=", value, "dmCreateTime");
            return (Criteria) this;
        }

        public Criteria andDmCreateTimeIn(List<Date> values) {
            addCriterionForJDBCDate("DM_CREATE_TIME in", values, "dmCreateTime");
            return (Criteria) this;
        }

        public Criteria andDmCreateTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("DM_CREATE_TIME not in", values, "dmCreateTime");
            return (Criteria) this;
        }

        public Criteria andDmCreateTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("DM_CREATE_TIME between", value1, value2, "dmCreateTime");
            return (Criteria) this;
        }

        public Criteria andDmCreateTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("DM_CREATE_TIME not between", value1, value2, "dmCreateTime");
            return (Criteria) this;
        }

        public Criteria andDmModifiedTimeIsNull() {
            addCriterion("DM_MODIFIED_TIME is null");
            return (Criteria) this;
        }

        public Criteria andDmModifiedTimeIsNotNull() {
            addCriterion("DM_MODIFIED_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andDmModifiedTimeEqualTo(Date value) {
            addCriterionForJDBCDate("DM_MODIFIED_TIME =", value, "dmModifiedTime");
            return (Criteria) this;
        }

        public Criteria andDmModifiedTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("DM_MODIFIED_TIME <>", value, "dmModifiedTime");
            return (Criteria) this;
        }

        public Criteria andDmModifiedTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("DM_MODIFIED_TIME >", value, "dmModifiedTime");
            return (Criteria) this;
        }

        public Criteria andDmModifiedTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("DM_MODIFIED_TIME >=", value, "dmModifiedTime");
            return (Criteria) this;
        }

        public Criteria andDmModifiedTimeLessThan(Date value) {
            addCriterionForJDBCDate("DM_MODIFIED_TIME <", value, "dmModifiedTime");
            return (Criteria) this;
        }

        public Criteria andDmModifiedTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("DM_MODIFIED_TIME <=", value, "dmModifiedTime");
            return (Criteria) this;
        }

        public Criteria andDmModifiedTimeIn(List<Date> values) {
            addCriterionForJDBCDate("DM_MODIFIED_TIME in", values, "dmModifiedTime");
            return (Criteria) this;
        }

        public Criteria andDmModifiedTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("DM_MODIFIED_TIME not in", values, "dmModifiedTime");
            return (Criteria) this;
        }

        public Criteria andDmModifiedTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("DM_MODIFIED_TIME between", value1, value2, "dmModifiedTime");
            return (Criteria) this;
        }

        public Criteria andDmModifiedTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("DM_MODIFIED_TIME not between", value1, value2, "dmModifiedTime");
            return (Criteria) this;
        }

        public Criteria andDmExtraoneIsNull() {
            addCriterion("DM_EXTRAONE is null");
            return (Criteria) this;
        }

        public Criteria andDmExtraoneIsNotNull() {
            addCriterion("DM_EXTRAONE is not null");
            return (Criteria) this;
        }

        public Criteria andDmExtraoneEqualTo(String value) {
            addCriterion("DM_EXTRAONE =", value, "dmExtraone");
            return (Criteria) this;
        }

        public Criteria andDmExtraoneNotEqualTo(String value) {
            addCriterion("DM_EXTRAONE <>", value, "dmExtraone");
            return (Criteria) this;
        }

        public Criteria andDmExtraoneGreaterThan(String value) {
            addCriterion("DM_EXTRAONE >", value, "dmExtraone");
            return (Criteria) this;
        }

        public Criteria andDmExtraoneGreaterThanOrEqualTo(String value) {
            addCriterion("DM_EXTRAONE >=", value, "dmExtraone");
            return (Criteria) this;
        }

        public Criteria andDmExtraoneLessThan(String value) {
            addCriterion("DM_EXTRAONE <", value, "dmExtraone");
            return (Criteria) this;
        }

        public Criteria andDmExtraoneLessThanOrEqualTo(String value) {
            addCriterion("DM_EXTRAONE <=", value, "dmExtraone");
            return (Criteria) this;
        }

        public Criteria andDmExtraoneLike(String value) {
            addCriterion("DM_EXTRAONE like", value, "dmExtraone");
            return (Criteria) this;
        }

        public Criteria andDmExtraoneNotLike(String value) {
            addCriterion("DM_EXTRAONE not like", value, "dmExtraone");
            return (Criteria) this;
        }

        public Criteria andDmExtraoneIn(List<String> values) {
            addCriterion("DM_EXTRAONE in", values, "dmExtraone");
            return (Criteria) this;
        }

        public Criteria andDmExtraoneNotIn(List<String> values) {
            addCriterion("DM_EXTRAONE not in", values, "dmExtraone");
            return (Criteria) this;
        }

        public Criteria andDmExtraoneBetween(String value1, String value2) {
            addCriterion("DM_EXTRAONE between", value1, value2, "dmExtraone");
            return (Criteria) this;
        }

        public Criteria andDmExtraoneNotBetween(String value1, String value2) {
            addCriterion("DM_EXTRAONE not between", value1, value2, "dmExtraone");
            return (Criteria) this;
        }

        public Criteria andDmExtratwoIsNull() {
            addCriterion("DM_EXTRATWO is null");
            return (Criteria) this;
        }

        public Criteria andDmExtratwoIsNotNull() {
            addCriterion("DM_EXTRATWO is not null");
            return (Criteria) this;
        }

        public Criteria andDmExtratwoEqualTo(String value) {
            addCriterion("DM_EXTRATWO =", value, "dmExtratwo");
            return (Criteria) this;
        }

        public Criteria andDmExtratwoNotEqualTo(String value) {
            addCriterion("DM_EXTRATWO <>", value, "dmExtratwo");
            return (Criteria) this;
        }

        public Criteria andDmExtratwoGreaterThan(String value) {
            addCriterion("DM_EXTRATWO >", value, "dmExtratwo");
            return (Criteria) this;
        }

        public Criteria andDmExtratwoGreaterThanOrEqualTo(String value) {
            addCriterion("DM_EXTRATWO >=", value, "dmExtratwo");
            return (Criteria) this;
        }

        public Criteria andDmExtratwoLessThan(String value) {
            addCriterion("DM_EXTRATWO <", value, "dmExtratwo");
            return (Criteria) this;
        }

        public Criteria andDmExtratwoLessThanOrEqualTo(String value) {
            addCriterion("DM_EXTRATWO <=", value, "dmExtratwo");
            return (Criteria) this;
        }

        public Criteria andDmExtratwoLike(String value) {
            addCriterion("DM_EXTRATWO like", value, "dmExtratwo");
            return (Criteria) this;
        }

        public Criteria andDmExtratwoNotLike(String value) {
            addCriterion("DM_EXTRATWO not like", value, "dmExtratwo");
            return (Criteria) this;
        }

        public Criteria andDmExtratwoIn(List<String> values) {
            addCriterion("DM_EXTRATWO in", values, "dmExtratwo");
            return (Criteria) this;
        }

        public Criteria andDmExtratwoNotIn(List<String> values) {
            addCriterion("DM_EXTRATWO not in", values, "dmExtratwo");
            return (Criteria) this;
        }

        public Criteria andDmExtratwoBetween(String value1, String value2) {
            addCriterion("DM_EXTRATWO between", value1, value2, "dmExtratwo");
            return (Criteria) this;
        }

        public Criteria andDmExtratwoNotBetween(String value1, String value2) {
            addCriterion("DM_EXTRATWO not between", value1, value2, "dmExtratwo");
            return (Criteria) this;
        }

        public Criteria andDmExtrathreeIsNull() {
            addCriterion("DM_EXTRATHREE is null");
            return (Criteria) this;
        }

        public Criteria andDmExtrathreeIsNotNull() {
            addCriterion("DM_EXTRATHREE is not null");
            return (Criteria) this;
        }

        public Criteria andDmExtrathreeEqualTo(String value) {
            addCriterion("DM_EXTRATHREE =", value, "dmExtrathree");
            return (Criteria) this;
        }

        public Criteria andDmExtrathreeNotEqualTo(String value) {
            addCriterion("DM_EXTRATHREE <>", value, "dmExtrathree");
            return (Criteria) this;
        }

        public Criteria andDmExtrathreeGreaterThan(String value) {
            addCriterion("DM_EXTRATHREE >", value, "dmExtrathree");
            return (Criteria) this;
        }

        public Criteria andDmExtrathreeGreaterThanOrEqualTo(String value) {
            addCriterion("DM_EXTRATHREE >=", value, "dmExtrathree");
            return (Criteria) this;
        }

        public Criteria andDmExtrathreeLessThan(String value) {
            addCriterion("DM_EXTRATHREE <", value, "dmExtrathree");
            return (Criteria) this;
        }

        public Criteria andDmExtrathreeLessThanOrEqualTo(String value) {
            addCriterion("DM_EXTRATHREE <=", value, "dmExtrathree");
            return (Criteria) this;
        }

        public Criteria andDmExtrathreeLike(String value) {
            addCriterion("DM_EXTRATHREE like", value, "dmExtrathree");
            return (Criteria) this;
        }

        public Criteria andDmExtrathreeNotLike(String value) {
            addCriterion("DM_EXTRATHREE not like", value, "dmExtrathree");
            return (Criteria) this;
        }

        public Criteria andDmExtrathreeIn(List<String> values) {
            addCriterion("DM_EXTRATHREE in", values, "dmExtrathree");
            return (Criteria) this;
        }

        public Criteria andDmExtrathreeNotIn(List<String> values) {
            addCriterion("DM_EXTRATHREE not in", values, "dmExtrathree");
            return (Criteria) this;
        }

        public Criteria andDmExtrathreeBetween(String value1, String value2) {
            addCriterion("DM_EXTRATHREE between", value1, value2, "dmExtrathree");
            return (Criteria) this;
        }

        public Criteria andDmExtrathreeNotBetween(String value1, String value2) {
            addCriterion("DM_EXTRATHREE not between", value1, value2, "dmExtrathree");
            return (Criteria) this;
        }

        public Criteria andDmExtrafourIsNull() {
            addCriterion("DM_EXTRAFOUR is null");
            return (Criteria) this;
        }

        public Criteria andDmExtrafourIsNotNull() {
            addCriterion("DM_EXTRAFOUR is not null");
            return (Criteria) this;
        }

        public Criteria andDmExtrafourEqualTo(String value) {
            addCriterion("DM_EXTRAFOUR =", value, "dmExtrafour");
            return (Criteria) this;
        }

        public Criteria andDmExtrafourNotEqualTo(String value) {
            addCriterion("DM_EXTRAFOUR <>", value, "dmExtrafour");
            return (Criteria) this;
        }

        public Criteria andDmExtrafourGreaterThan(String value) {
            addCriterion("DM_EXTRAFOUR >", value, "dmExtrafour");
            return (Criteria) this;
        }

        public Criteria andDmExtrafourGreaterThanOrEqualTo(String value) {
            addCriterion("DM_EXTRAFOUR >=", value, "dmExtrafour");
            return (Criteria) this;
        }

        public Criteria andDmExtrafourLessThan(String value) {
            addCriterion("DM_EXTRAFOUR <", value, "dmExtrafour");
            return (Criteria) this;
        }

        public Criteria andDmExtrafourLessThanOrEqualTo(String value) {
            addCriterion("DM_EXTRAFOUR <=", value, "dmExtrafour");
            return (Criteria) this;
        }

        public Criteria andDmExtrafourLike(String value) {
            addCriterion("DM_EXTRAFOUR like", value, "dmExtrafour");
            return (Criteria) this;
        }

        public Criteria andDmExtrafourNotLike(String value) {
            addCriterion("DM_EXTRAFOUR not like", value, "dmExtrafour");
            return (Criteria) this;
        }

        public Criteria andDmExtrafourIn(List<String> values) {
            addCriterion("DM_EXTRAFOUR in", values, "dmExtrafour");
            return (Criteria) this;
        }

        public Criteria andDmExtrafourNotIn(List<String> values) {
            addCriterion("DM_EXTRAFOUR not in", values, "dmExtrafour");
            return (Criteria) this;
        }

        public Criteria andDmExtrafourBetween(String value1, String value2) {
            addCriterion("DM_EXTRAFOUR between", value1, value2, "dmExtrafour");
            return (Criteria) this;
        }

        public Criteria andDmExtrafourNotBetween(String value1, String value2) {
            addCriterion("DM_EXTRAFOUR not between", value1, value2, "dmExtrafour");
            return (Criteria) this;
        }

        public Criteria andDmExtrafiveIsNull() {
            addCriterion("DM_EXTRAFIVE is null");
            return (Criteria) this;
        }

        public Criteria andDmExtrafiveIsNotNull() {
            addCriterion("DM_EXTRAFIVE is not null");
            return (Criteria) this;
        }

        public Criteria andDmExtrafiveEqualTo(String value) {
            addCriterion("DM_EXTRAFIVE =", value, "dmExtrafive");
            return (Criteria) this;
        }

        public Criteria andDmExtrafiveNotEqualTo(String value) {
            addCriterion("DM_EXTRAFIVE <>", value, "dmExtrafive");
            return (Criteria) this;
        }

        public Criteria andDmExtrafiveGreaterThan(String value) {
            addCriterion("DM_EXTRAFIVE >", value, "dmExtrafive");
            return (Criteria) this;
        }

        public Criteria andDmExtrafiveGreaterThanOrEqualTo(String value) {
            addCriterion("DM_EXTRAFIVE >=", value, "dmExtrafive");
            return (Criteria) this;
        }

        public Criteria andDmExtrafiveLessThan(String value) {
            addCriterion("DM_EXTRAFIVE <", value, "dmExtrafive");
            return (Criteria) this;
        }

        public Criteria andDmExtrafiveLessThanOrEqualTo(String value) {
            addCriterion("DM_EXTRAFIVE <=", value, "dmExtrafive");
            return (Criteria) this;
        }

        public Criteria andDmExtrafiveLike(String value) {
            addCriterion("DM_EXTRAFIVE like", value, "dmExtrafive");
            return (Criteria) this;
        }

        public Criteria andDmExtrafiveNotLike(String value) {
            addCriterion("DM_EXTRAFIVE not like", value, "dmExtrafive");
            return (Criteria) this;
        }

        public Criteria andDmExtrafiveIn(List<String> values) {
            addCriterion("DM_EXTRAFIVE in", values, "dmExtrafive");
            return (Criteria) this;
        }

        public Criteria andDmExtrafiveNotIn(List<String> values) {
            addCriterion("DM_EXTRAFIVE not in", values, "dmExtrafive");
            return (Criteria) this;
        }

        public Criteria andDmExtrafiveBetween(String value1, String value2) {
            addCriterion("DM_EXTRAFIVE between", value1, value2, "dmExtrafive");
            return (Criteria) this;
        }

        public Criteria andDmExtrafiveNotBetween(String value1, String value2) {
            addCriterion("DM_EXTRAFIVE not between", value1, value2, "dmExtrafive");
            return (Criteria) this;
        }

        public Criteria andDmExtrasixIsNull() {
            addCriterion("DM_EXTRASIX is null");
            return (Criteria) this;
        }

        public Criteria andDmExtrasixIsNotNull() {
            addCriterion("DM_EXTRASIX is not null");
            return (Criteria) this;
        }

        public Criteria andDmExtrasixEqualTo(String value) {
            addCriterion("DM_EXTRASIX =", value, "dmExtrasix");
            return (Criteria) this;
        }

        public Criteria andDmExtrasixNotEqualTo(String value) {
            addCriterion("DM_EXTRASIX <>", value, "dmExtrasix");
            return (Criteria) this;
        }

        public Criteria andDmExtrasixGreaterThan(String value) {
            addCriterion("DM_EXTRASIX >", value, "dmExtrasix");
            return (Criteria) this;
        }

        public Criteria andDmExtrasixGreaterThanOrEqualTo(String value) {
            addCriterion("DM_EXTRASIX >=", value, "dmExtrasix");
            return (Criteria) this;
        }

        public Criteria andDmExtrasixLessThan(String value) {
            addCriterion("DM_EXTRASIX <", value, "dmExtrasix");
            return (Criteria) this;
        }

        public Criteria andDmExtrasixLessThanOrEqualTo(String value) {
            addCriterion("DM_EXTRASIX <=", value, "dmExtrasix");
            return (Criteria) this;
        }

        public Criteria andDmExtrasixLike(String value) {
            addCriterion("DM_EXTRASIX like", value, "dmExtrasix");
            return (Criteria) this;
        }

        public Criteria andDmExtrasixNotLike(String value) {
            addCriterion("DM_EXTRASIX not like", value, "dmExtrasix");
            return (Criteria) this;
        }

        public Criteria andDmExtrasixIn(List<String> values) {
            addCriterion("DM_EXTRASIX in", values, "dmExtrasix");
            return (Criteria) this;
        }

        public Criteria andDmExtrasixNotIn(List<String> values) {
            addCriterion("DM_EXTRASIX not in", values, "dmExtrasix");
            return (Criteria) this;
        }

        public Criteria andDmExtrasixBetween(String value1, String value2) {
            addCriterion("DM_EXTRASIX between", value1, value2, "dmExtrasix");
            return (Criteria) this;
        }

        public Criteria andDmExtrasixNotBetween(String value1, String value2) {
            addCriterion("DM_EXTRASIX not between", value1, value2, "dmExtrasix");
            return (Criteria) this;
        }

        public Criteria andDmExtrasevenIsNull() {
            addCriterion("DM_EXTRASEVEN is null");
            return (Criteria) this;
        }

        public Criteria andDmExtrasevenIsNotNull() {
            addCriterion("DM_EXTRASEVEN is not null");
            return (Criteria) this;
        }

        public Criteria andDmExtrasevenEqualTo(String value) {
            addCriterion("DM_EXTRASEVEN =", value, "dmExtraseven");
            return (Criteria) this;
        }

        public Criteria andDmExtrasevenNotEqualTo(String value) {
            addCriterion("DM_EXTRASEVEN <>", value, "dmExtraseven");
            return (Criteria) this;
        }

        public Criteria andDmExtrasevenGreaterThan(String value) {
            addCriterion("DM_EXTRASEVEN >", value, "dmExtraseven");
            return (Criteria) this;
        }

        public Criteria andDmExtrasevenGreaterThanOrEqualTo(String value) {
            addCriterion("DM_EXTRASEVEN >=", value, "dmExtraseven");
            return (Criteria) this;
        }

        public Criteria andDmExtrasevenLessThan(String value) {
            addCriterion("DM_EXTRASEVEN <", value, "dmExtraseven");
            return (Criteria) this;
        }

        public Criteria andDmExtrasevenLessThanOrEqualTo(String value) {
            addCriterion("DM_EXTRASEVEN <=", value, "dmExtraseven");
            return (Criteria) this;
        }

        public Criteria andDmExtrasevenLike(String value) {
            addCriterion("DM_EXTRASEVEN like", value, "dmExtraseven");
            return (Criteria) this;
        }

        public Criteria andDmExtrasevenNotLike(String value) {
            addCriterion("DM_EXTRASEVEN not like", value, "dmExtraseven");
            return (Criteria) this;
        }

        public Criteria andDmExtrasevenIn(List<String> values) {
            addCriterion("DM_EXTRASEVEN in", values, "dmExtraseven");
            return (Criteria) this;
        }

        public Criteria andDmExtrasevenNotIn(List<String> values) {
            addCriterion("DM_EXTRASEVEN not in", values, "dmExtraseven");
            return (Criteria) this;
        }

        public Criteria andDmExtrasevenBetween(String value1, String value2) {
            addCriterion("DM_EXTRASEVEN between", value1, value2, "dmExtraseven");
            return (Criteria) this;
        }

        public Criteria andDmExtrasevenNotBetween(String value1, String value2) {
            addCriterion("DM_EXTRASEVEN not between", value1, value2, "dmExtraseven");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}